package com.chazz.Do;

import com.chazz.entity.Brand;
import com.chazz.entity.Discount;
import com.chazz.entity.Goods;
import com.chazz.entity.Sku;
import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 * 描述:商品详情信息实体类
 *
 * @author Chazz
 * @create 2020-09-25 8:51
 */
public class GoodsDetailsInfo implements Serializable {
    private Goods goods;
    private Brand brand;
    private Sku sku;
    private List<KeyValue> map;
    private Discount discount;
    private double beforPrice;
    private String afterPrice;

    public GoodsDetailsInfo()  {
    }

    public GoodsDetailsInfo(Goods goods, Brand brand, Sku sku,
        List<KeyValue> map, Discount discount, double beforPrice, String afterPrice) {
        this.goods = goods;
        this.brand = brand;
        this.sku = sku;
        this.map = map;
        this.discount = discount;
        this.beforPrice = beforPrice;
        this.afterPrice = afterPrice;
    }

    public Goods getGoods() {
        return goods;
    }

    public void setGoods(Goods goods) {
        this.goods = goods;
    }

    public Brand getBrand() {
        return brand;
    }

    public void setBrand(Brand brand) {
        this.brand = brand;
    }

    public Sku getSku() {
        return sku;
    }

    public void setSku(Sku sku) {
        this.sku = sku;
    }

    public List<KeyValue> getMap() {
        return map;
    }

    public void setMap(List<KeyValue> map) {
        this.map = map;
    }

    public Discount getDiscount() {
        return discount;
    }

    public void setDiscount(Discount discount) {
        this.discount = discount;
    }

    public double getBeforPrice() {
        return beforPrice;
    }

    public void setBeforPrice(double beforPrice) {
        this.beforPrice = beforPrice;
    }

    public String getAfterPrice() {
        return afterPrice;
    }

    public void setAfterPrice(String afterPrice) {
        this.afterPrice = afterPrice;
    }

    @Override
    public String toString() {
        return "GoodsDetailsInfo{" +
            "goods=" + goods.toString() +
            ", brand=" + brand.toString() +
            ", sku=" + sku.toString() +
            ", map=" + map +
            ", discount=" + discount.toString() +
            ", beforPrice=" + beforPrice +
            ", afterPrice=" + afterPrice +
            '}';
    }
}
